<?php

namespace app\index\controller;

class Blog extends IndexController
{
    public function index($id)
    {
        return '查看ID= ' . $id . '的内容';
    }

    public function read($name)
    {
        return '读取name为 ' . $name. '的资料';
    }

    public function article($year, $month)
    {
        return '查阅'.$year.'/'.$month.'的文章';
    }
}
